runtime.gcControllerState.heapGoal (field)
19 uses
runtime (current package)
metrics.go#L434: a.heapGoal = atomic.Load64(&gcController.heapGoal)
mgc.go#L676: work.heapGoal = gcController.heapGoal
mgc.go#L981: gcPaceScavenger(gcController.heapGoal, gcController.lastHeapGoal)
mgcpacer.go#L163: heapGoal uint64
mgcpacer.go#L400: if c.heapGoal < c.heapLive+64<<10 {
mgcpacer.go#L401: c.heapGoal = c.heapLive + 64<<10
mgcpacer.go#L404: if c.heapGoal < c.heapLive+1<<20 {
mgcpacer.go#L405: c.heapGoal = c.heapLive + 1<<20
mgcpacer.go#L453: c.heapGoal>>20, " MB)",
mgcpacer.go#L493: heapGoal := int64(atomic.Load64(&c.heapGoal))
mgcpacer.go#L615: gcController.lastHeapGoal = gcController.heapGoal
mgcpacer.go#L706: print("in ", c.trigger, " B -> ", c.heapLive, " B (∆goal ", int64(c.heapLive)-int64(c.heapGoal), ", cons/mark ", oldConsMark, ")")
mgcpacer.go#L1088: atomic.Store64(&c.heapGoal, goal)
mgcpacer.go#L1182: print("runtime: heapGoal=", c.heapGoal, " heapMarked=", c.heapMarked, " gcController.heapLive=", c.heapLive, " initialHeapLive=", work.initialHeapLive, "triggerRatio=", triggerRatio, " minTrigger=", minTrigger, "\n")
mgcpacer.go#L1195: atomic.Store64(&c.heapGoal, goal)
mgcpacer.go#L1220: egogc := float64(atomic.Load64(&c.heapGoal)-c.heapMarked) / float64(c.heapMarked)
mgcpacer.go#L1258: gcPaceScavenger(gcController.heapGoal, gcController.lastHeapGoal)
mstats.go#L456: stats.NextGC = gcController.heapGoal
trace.go#L1165: if heapGoal := atomic.Load64(&gcController.heapGoal); heapGoal == ^uint64(0) {